package me.sdevil507.supports.upload;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 七牛上传配置
 *
 * @author sdevil507
 * created on 2020/3/11
 */
@Component
@ConfigurationProperties(prefix = "qiniu")
@Data
public class QiNiuUploadProperties {

    /**
     * accessKey
     */
    private String accessKey;

    /**
     * secertKey
     */
    private String secertKey;

    /**
     * bucket
     */
    private String bucket;

    /**
     * url
     */
    private String url;
}
